package com.eastrobot.doc.poitlconvert.exception;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;



public class ExpressionCompileException extends RuntimeException{

    private int code;
    private String message;

    public ExpressionCompileException(int code, String message) {
        super(message);
        this.code = code;
        this.message =message;
    }

    public int getCode() {
        return code;
    }

    public ExpressionCompileException setCode(int code) {
        this.code = code;
        return this;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public ExpressionCompileException setMessage(String message) {
        this.message = message;
        return this;
    }
}
